package dao;

import java.sql.SQLException;

import model.CategoryMaster;


public interface CategoryMasterDao {
	
	// crudeMethods
	
	public void add(CategoryMaster category) throws SQLException, Exception;
	
	public void update(CategoryMaster cat) throws Exception;
	
	public void delete (CategoryMaster cat) throws Exception;
	
	public CategoryMaster retreive(String conditionField,String ConditionValue) throws Exception ;
	
	public CategoryMaster[] retreiveArray(String conditionField,String ConditionValue) throws Exception ;
	
	public CategoryMaster[] retreiveAll() throws Exception ;
	
	
	
	

}
